package com.wu.common.convertion.errorcode;

public enum SingerErrorCode implements IErrorCode {

    SINGER_SAVE_ERROR("B000301", "添加歌手失败"),
    SINGER_DELETE_ERROR("B000302", "删除歌手失败"),
    SINGER_UPDATE_ERROR("B000303", "修改歌手信息失败"),
    SINGER_UPDATE_IMAGE_ERROR("B000304", "上传歌手照片失败");
    private final String code;

    private final String message;

    SingerErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
